package com.hrt.datasender.datadao.model;

import com.btcode.db.fieldtype.FieldType;
import com.btcode.orm.model.BaseModel;
import com.btcode.orm.model.Field;
import com.btcode.orm.model.IField;

/**
 * 
 * <pre>
 * 注释
 * </pre>
 * 
 * @author FAN
 * @date 2018年9月12日下午5:23:11
 */
public class BcAccessTableModel extends BaseModel {

    private static final long serialVersionUID = 1L;

    public static String tableName = "BC_ACCESS_TABLE";

    public static IField platformname = new Field(BcAccessTableModel.class, "PLATFORMNAME", FieldType.String, false,
            true, false);

    public static IField id = new Field(BcAccessTableModel.class, "ID", FieldType.String, true, true, false);

    public static IField daytable = new Field(BcAccessTableModel.class, "DAYTABLE", FieldType.String, false, true,
            false);

    public static IField hourtable = new Field(BcAccessTableModel.class, "HOURTABLE", FieldType.String, false, true,
            false);

    public static IField mintable = new Field(BcAccessTableModel.class, "MINTABLE", FieldType.String, false, true,
            false);

    public static IField rttable = new Field(BcAccessTableModel.class, "RTTABLE", FieldType.String, false, true, false);

    public static IField cyctable = new Field(BcAccessTableModel.class, "CYCTABLE", FieldType.String, false, true,
            false);

    public static IField datatime = new Field(BcAccessTableModel.class, "DATATIME", FieldType.String, false, true,
            false);

    public static IField furtable = new Field(BcAccessTableModel.class, "FURTABLE", FieldType.String, false, true,
            false);

    public static IField meas = new Field(BcAccessTableModel.class, "MEAS", FieldType.String, false, true, false);

    public static IField meassigin = new Field(BcAccessTableModel.class, "MEASSIGIN", FieldType.String, false, true,
            false);

    public static IField tl = new Field(BcAccessTableModel.class, "TL", FieldType.String, false, true, false);

    public static IField devicetable = new Field(BcAccessTableModel.class, "DEVICETABLE", FieldType.String, false, true, false);

    public void setPlatformname(String value) {
        setFieldValue(BcAccessTableModel.platformname.getFieldName(), value);
    }

    public String getPlatformname() {
        Object value = getFieldValue(BcAccessTableModel.platformname.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setId(String value) {
        setFieldValue(BcAccessTableModel.id.getFieldName(), value);
    }

    public String getId() {
        Object value = getFieldValue(BcAccessTableModel.id.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setDaytable(String value) {
        setFieldValue(BcAccessTableModel.daytable.getFieldName(), value);
    }

    public String getDaytable() {
        Object value = getFieldValue(BcAccessTableModel.daytable.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setHourtable(String value) {
        setFieldValue(BcAccessTableModel.hourtable.getFieldName(), value);
    }

    public String getHourtable() {
        Object value = getFieldValue(BcAccessTableModel.hourtable.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setMintable(String value) {
        setFieldValue(BcAccessTableModel.mintable.getFieldName(), value);
    }

    public String getMintable() {
        Object value = getFieldValue(BcAccessTableModel.mintable.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setRttable(String value) {
        setFieldValue(BcAccessTableModel.rttable.getFieldName(), value);
    }

    public String getRttable() {
        Object value = getFieldValue(BcAccessTableModel.rttable.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setCyctable(String value) {
        setFieldValue(BcAccessTableModel.cyctable.getFieldName(), value);
    }

    public String getCyctable() {
        Object value = getFieldValue(BcAccessTableModel.cyctable.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setDatatime(String value) {
        setFieldValue(BcAccessTableModel.datatime.getFieldName(), value);
    }

    public String getDatatime() {
        Object value = getFieldValue(BcAccessTableModel.datatime.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setFurtable(String value) {
        setFieldValue(BcAccessTableModel.furtable.getFieldName(), value);
    }

    public String getFurtable() {
        Object value = getFieldValue(BcAccessTableModel.furtable.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setMeas(String value) {
        setFieldValue(BcAccessTableModel.meas.getFieldName(), value);
    }

    public String getMeas() {
        Object value = getFieldValue(BcAccessTableModel.meas.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setMeassigin(String value) {
        setFieldValue(BcAccessTableModel.meassigin.getFieldName(), value);
    }

    public String getMeassigin() {
        Object value = getFieldValue(BcAccessTableModel.meassigin.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setTl(String value) {
        setFieldValue(BcAccessTableModel.tl.getFieldName(), value);
    }

    public String getTl() {
        Object value = getFieldValue(BcAccessTableModel.tl.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setDevicetable(String value) {
        setFieldValue(BcAccessTableModel.devicetable.getFieldName(), value);
    }

    public String getDevicetable() {
        Object value = getFieldValue(BcAccessTableModel.devicetable.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public String getTableName() {
        return tableName;
    }

    public boolean isNeedCache() {
        return false;
    }

}